home *** CD-ROM | disk | FTP | other *** search
- scripts.gameOverMusic.stop();
- menuLoopPlaying == false;
- stopAllSounds();
- loadScores = new LoadVars();
- loadScores.load(app.basePath + app.scorePath);
- loadScores.onLoad = function()
- {
- trace("load complete");
- if(this.msg == "EE")
- {
- if(this.text == "no scores available for that game (sb_panic)")
- {
- MSGtext = "Sorry, the high-score list is empty!";
- }
- else
- {
- MSGtext = "Oops, the high-score list isnΓÇÖt available right now!";
- }
- gotoAndStop("displayError");
- play();
- }
- else
- {
- z = 0;
- while(z < 100)
- {
- nVar = eval("this.pn" + z);
- sVar = eval("this.ps" + z);
- scrollVar = eval("scroller.contentMain.score" + (z + 1));
- scrollVar.placeval = z + 1;
- scrollVar.nameval = nVar;
- scrollVar.scoreval = sVar;
- z++;
- }
- gotoAndStop("displayScores");
- play();
- }
- };
- stop();
-